# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-euclid3
_pkgorig=euclid3
pkgver=0.2.0
pkgrel=0
pkgdesc="Vector, matrix, quaternion and some geometry in 2D and 3D for Python 3"
url="https://github.com/euclid3/euclid3"
arch="noarch"
license="LGPL-2.1-or-later"
depends="python3"
makedepends="
	py3-setuptools
	"
source="https://github.com/euclid3/euclid3/archive/v$pkgver/$_pkgorig-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 test_euclid.py
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
0b6776e37461f6a342abdb96e095c9f5a4aa00310a5ced34638b95c91f29ef36cf8872ec4d1b5ecad31f414bbf3f9828b177afd73f3f5e803f057d45bf11c2f2  euclid3-0.2.0.tar.gz
"
